package cn.com.cym.gamezao.repository.grk;

import cn.com.cym.gamezao.base.BaseRepository;
import cn.com.cym.gamezao.entity.grk.Diagnose;
import cn.com.cym.gamezao.entity.grk.Sample;
import org.springframework.data.redis.core.RedisHash;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@RedisHash
public interface SampleRepository extends BaseRepository<Sample,Long> {

    List<Sample> getAllByDiagnose(Diagnose diagnose);
}
